package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.role.RoleDTO;
import com.qk.entity.Role;

import java.util.List;

/**
 * @Author:Shuna
 * @Date: 2025/10/08 19:44
 * @Description:
 */
public interface RoleService {
    PageResult<Role> list(RoleDTO roleDTO);

    void add(Role role);

    void deleteById(Integer id);

    Role getById(Integer id);

    void update(Role role);

    List<Role> getAll();
}
